package com.ovopark.organize.server.service;


import com.ovopark.organize.common.base.BaseResult;
import com.ovopark.organize.server.model.entity.FranchiseeContract;
import com.ovopark.organize.server.model.vo.FileVo;

import java.io.File;
import java.util.List;
import java.util.Locale;
import java.util.Map;

/**
 * @Description:
 * @Author:zll
 * @Date:
 */
public interface FranchiseeContractService {


    void saveContractByUserId(Integer userId, Integer groupId, List<FileVo> contractUrl);

    List<FranchiseeContract> getContractByUserId(Integer userId, Integer groupId);

    FranchiseeContract saveContractBean(FranchiseeContract contract);

    Map<Integer, List<FranchiseeContract>> getFranchiseeListByUsers(Integer enterpriseId, List<Integer> userIds);

    List<FranchiseeContract> getFranchiseeList(Integer enterpriseId, List<Integer> userIds);
    void deleteFranchiseeList(Integer userId, Integer groupId,List<Integer> id);


    BaseResult importFranchiseeContract(File multipartFile, Integer curUserId, Integer groupId, String remoteIp, String platform, Locale finalLocale);
}
